class CreateScreenshoots < ActiveRecord::Migration
  def change
    create_table :screenshoots do |t|
      t.attachment :imagen
      t.references :aplicacion

      t.timestamps
    end
    add_index :screenshoots, :aplicacion_id
  end
end
